#include <iostream>
#include <string>
#include <vector>
using namespace std;

class Cube {
public:
	Cube(char letters[6]) {
		memcpy(mLetters, letters, 6);
	}
	char mLetters[6];
	
};

class MinFlow {
public:
	vector<int> getFlow(vector<Cube>& cubes, string& word);
};